<template>
  <div>
    <div class="editlist" @click="$emit('editclick')">
      <span>{{ left }} </span>
      <span>
        <slot name="right"></slot>
      </span>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  created() {},
  methods: {},
  props: ['left']
}
</script>

<style lang="stylus" scoped>
.editlist{
    padding 3.889vw
    display flex
    font-size 4.167vw
    justify-content space-between
    background-color #fff
    color #505050
    border-bottom 0.278vw solid #eee
}

.editlist  span{
    display flex
    justify-content center
    align-items center
    }
</style>
